﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Project_KhuyenMaiVang.Models
{
    public class DonDatHang
    {
        private int _maDonDatHang;

        public int MaDonDatHang
        {
            get { return _maDonDatHang; }
            set { _maDonDatHang = value; }
        }

        private string _nguoiDatHang;

        public string NguoiDatHang
        {
            get { return _nguoiDatHang; }
            set { _nguoiDatHang = value; }
        }
        private string _tenSanPham;

        public string TenSanPham
        {
            get { return _tenSanPham; }
            set { _tenSanPham = value; }
        }
        private int _soLuong;

        public int SoLuong
        {
            get { return _soLuong; }
            set { _soLuong = value; }
        }
        private string _tinhTrangDonHang;

        public string TinhTrangDonHang
        {
            get { return _tinhTrangDonHang; }
            set { _tinhTrangDonHang = value; }
        }

        private int _MaVoucher;

        public int MaVoucher
        {
            get { return _MaVoucher; }
            set { _MaVoucher = value; }
        }

        private string[] _MaSoDonDatHang;

        public string[] MaSoDonDatHang
        {
            get { return _MaSoDonDatHang; }
            set { _MaSoDonDatHang = value; }
        }

        public DonDatHang(string nguoiDatHang, string tenSanPham, int soLuong, string tinhTrangDonHang)
        {
            _nguoiDatHang = nguoiDatHang;
            _tenSanPham = tenSanPham;
            _soLuong = soLuong;
            _tinhTrangDonHang = tinhTrangDonHang;
        }

        public DonDatHang()
        {
        }
    }
}